package com.bw.controller;

import com.bw.service.TmsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
public class TmsController {
    @Autowired
    TmsService tmsService;

    @RequestMapping("/ShuTotal")
    public Object ShuTotal(String newDate){
        List<Map> list = tmsService.ShuTotal(newDate);

        return 21;
    }

    @RequestMapping("/ShengTotal")
    public Object ShengTotal(String newDate){
        List<Map> list = tmsService.ShengTotal(newDate);

        return 21;
    }

    @RequestMapping("/BingTotal")
    public Object BingTotal(String newDate){
        List<Map> list = tmsService.BingTotal(newDate);
        return 21;
    }
}
